package com.naire.modul.dictype.service;

import net.common.service.GeneralService;
import com.naire.modul.dictype.dao.DictypeDao;
import com.naire.modul.dictype.dao.impl.DictypeDaoImpl;
import com.naire.modul.dictype.vo.DictypeVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class DictypeFindService extends GeneralService {

	private DictypeVo bean;
	private Integer id;

	@Override
	public void execute() throws Exception {
		DictypeDao dao = new DictypeDaoImpl();
		bean = dao.find(id);
	}

	public DictypeVo getBean() {
		return bean;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
